#pragma once

class config
{
public:
    TCHAR m_szConfigFile [MAX_PATH];
	bool DonnetInstalled;
	bool showCMDMenu;
	bool showRegDllMenu;
	bool showCopyFilePath;
    TCHAR m_szDonnetParameter [MAX_PATH];
    TCHAR m_szCMDParameter [MAX_PATH];
	config(void);
	~config(void);
private:
	void getConfigFilePath();
	void getDefaultConfig();
	bool readConfigFile(LPCTSTR cfgfn);
	void writeConfigFile(LPCTSTR cfgfn);
};
